package com.ruoyi.db.domain;

import java.math.BigDecimal;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 渠道账户流水对象 ml_account_item_channle_his
 * 
 * @author ruoyi
 * @date 2023-02-02
 */
public class AccountItemChannleHis extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /**  */
    private Long id;

    /** 日期 */
    @Excel(name = "日期")
    private String dateInfo;

    /** 账户ID */
    @Excel(name = "账户ID")
    private Long accountId;

    /** 渠道名称 */
    @Excel(name = "渠道名称")
    private String channelCode;

    /** 渠道编号 */
    @Excel(name = "渠道编号")
    private String channelName;

    /** 操作类型 */
    @Excel(name = "操作类型")
    private String actionType;

    /** 改变金额 */
    @Excel(name = "改变金额")
    private BigDecimal changeAmount;

    /** 原金额 */
    @Excel(name = "原金额")
    private BigDecimal originAmount;

    /** 现金额 */
    @Excel(name = "现金额")
    private BigDecimal currentAmount;

    /** 入账申请ID */
    @Excel(name = "入账申请ID")
    private String dataId;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setDateInfo(String dateInfo) 
    {
        this.dateInfo = dateInfo;
    }

    public String getDateInfo() 
    {
        return dateInfo;
    }
    public void setAccountId(Long accountId) 
    {
        this.accountId = accountId;
    }

    public Long getAccountId() 
    {
        return accountId;
    }
    public void setChannelCode(String channelCode) 
    {
        this.channelCode = channelCode;
    }

    public String getChannelCode() 
    {
        return channelCode;
    }
    public void setChannelName(String channelName) 
    {
        this.channelName = channelName;
    }

    public String getChannelName() 
    {
        return channelName;
    }
    public void setActionType(String actionType) 
    {
        this.actionType = actionType;
    }

    public String getActionType() 
    {
        return actionType;
    }
    public void setChangeAmount(BigDecimal changeAmount) 
    {
        this.changeAmount = changeAmount;
    }

    public BigDecimal getChangeAmount() 
    {
        return changeAmount;
    }
    public void setOriginAmount(BigDecimal originAmount) 
    {
        this.originAmount = originAmount;
    }

    public BigDecimal getOriginAmount() 
    {
        return originAmount;
    }
    public void setCurrentAmount(BigDecimal currentAmount) 
    {
        this.currentAmount = currentAmount;
    }

    public BigDecimal getCurrentAmount() 
    {
        return currentAmount;
    }
    public void setDataId(String dataId) 
    {
        this.dataId = dataId;
    }

    public String getDataId() 
    {
        return dataId;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("dateInfo", getDateInfo())
            .append("accountId", getAccountId())
            .append("channelCode", getChannelCode())
            .append("channelName", getChannelName())
            .append("actionType", getActionType())
            .append("changeAmount", getChangeAmount())
            .append("originAmount", getOriginAmount())
            .append("currentAmount", getCurrentAmount())
            .append("dataId", getDataId())
            .append("createTime", getCreateTime())
            .toString();
    }
}
